import request from '@/utils/request'

// 获取路由
export const getRouters = () => {
  return request({
    url: '/getRouters',
    method: 'get'
  })
}

// 删除文件
export const delFile = (params) => {
  return request({
    url: '/common/delete',
    method: 'delete',
    params
  })
}